package com.luotao.rpc.provider;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by IntelliJ IDEA.
 * User: luotao
 * Date: 12-5-18
 * Time: 下午7:56
 * To change this template use File | Settings | File Templates.
 */
public class StartupProvider {
    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"provider.xml"});
        System.out.println("pre !");
        context.start();
        System.out.println("start OK!");
        System.in.read(); // 按任意键退出
    }
}
